home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / WindowDepth.bproj / MyNXBrowserCell.h < prev    next >
Text File  |  1995-06-12  |  858b  |  46 lines

  1. /* Copyright (c) 1992 by NightShade Software
  2.  *
  3.  * NAME
  4.  *     MyNXBrowserCell:NXBrowserCell
  5.  *
  6.  * DESCRIPTION
  7.  *     ----
  8.  *
  9.  * COMMENTS/PROBLEMS
  10.  *     ----
  11.  *
  12.  * AUTHOR/DATE CREATED
  13.  *     Gary Ritchie/November 24, 1992
  14.  *
  15.  * REVISIONS
  16.  *
  17.  */
  18.  
  19. #import <appkit/appkit.h>
  20.  
  21. @interface MyNXBrowserCell:NXBrowserCell
  22. {
  23.     int tag;
  24.     NXAtom owner;        // The name of the application
  25.     int depth;            // The WindowDepthLimit
  26.     BOOL test;            // YES if using Test prefix
  27.     id depthImage;        // Image displayed for depth
  28.         
  29.     NXCoord ascender, descender, lineHeight;
  30. }
  31.  
  32. - initTextCell:(const char *)aString;
  33. - setTag:(int)aTag;
  34. - (int)tag;
  35. - setOwner:(NXAtom)theOwner;
  36. - (NXAtom)owner;
  37. - setDepth:(int)theDepth;
  38. - (int)depth;
  39. - setTestMode:(BOOL)flag;
  40. - (BOOL)testMode;
  41.  
  42. - setFont:fontObj;
  43. - drawInside:(const NXRect *)cellFrame inView:controlView;
  44.  
  45. @end
  46.